package com.macro.mall.pms.service.bo;

import com.macro.mall.common.api.input.PagedAndSortedInput;
import com.macro.mall.pms.enums.ProductPublishStatusEnum;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import javax.validation.Valid;

/**
 * 分页查询商品信息input
 *
 * @author xuyanjun
 * @date 2019-12-13
 */
@Valid
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class PagedQueryProductInput extends PagedAndSortedInput {

    /**
     * 排序字段名称
     */
    public static final String SORT_FIELD_NAME = "sort";

    /**
     * 上架状态枚举
     */
    private ProductPublishStatusEnum publishStatusEnum;

}
